{include file="public/header" /}
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>测评详情 (测评时间:{$order['create_time']} &nbsp;&nbsp;测试结果:{$order['score_title']})</h5>
                    <div class="ibox-tools">
                        <!-- <a class="collapse-link" style="color: lightskyblue" href="{:url('index')}?page={$page}&no_ajax=1">
                            上一页<i class="fa fa-chevron-up"></i>
                        </a> -->
                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-12">
            <div class="col-sm-6">
            </div>
            <div class="col-sm-6">
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-sm-6">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>答题列表</h5>
                    <div class="ibox-tools">
                        <!-- <a class="collapse-link">
                            <i class="fa fa-chevron-up"></i>
                        </a>
                        <a class="dropdown-toggle" data-toggle="dropdown" href="table_basic.html#">
                            <i class="fa fa-wrench"></i>
                        </a>
                        <ul class="dropdown-menu dropdown-user">
                            <li><a href="table_basic.html#">选项1</a>
                            </li>
                            <li><a href="table_basic.html#">选项2</a>
                            </li>
                        </ul>
                        <a class="close-link">
                            <i class="fa fa-times"></i>
                        </a> -->
                    </div>
                </div>
                <div class="ibox-content">

                    <table class="table">
                        <thead>
                        <tr>
                            <th>ID</th>
                            <th>所属题目</th>
                            <th>答题选项</th>

                        </tr>
                        </thead>
                        <tbody>
                        {volist name="question_list" id="vo"}
                        <tr>
                            <td>{$vo.id}</td>
                            <td>{$vo.title}</td>
                            <td>{$vo.answer}</td>

                        </tr>
                        {/volist}
                        </tbody>
                    </table>

                </div>					
				<div class="hr-line-dashed"></div>
				<div class="form-group">
					<div class="col-sm-4 col-sm-offset-3">
						<input type="hidden" name="id" value="{:isset($list['id'])?$list['id']:''}">
						<a class="btn btn-danger" href="javascript:history.go(-1);"><i class="fa fa-close"></i> 返回</a>
					</div>
				</div>
            </div>
        </div>

    </div>

</div>
{include file="public/footer" /}
<script>
    $(document).ready(function () {
        $('.i-checks').iCheck({
            checkboxClass: 'icheckbox_square-green',
            radioClass: 'iradio_square-green',
        });
    });

    $('#ShipFrom').ajaxForm({
        beforeSubmit: checkForm,
        success: complete,
        dataType: 'json'
    });

    $('#matchFrom').ajaxForm({
        beforeSubmit: checkForm1,
        success: complete,
        dataType: 'json'
    });

    function checkForm1(){



    }


    function complete(data){
        if(data.code==1){
            layer.msg(data.msg, {icon: 6,time:1500,shade: 0.1}, function(index){
                window.location.href="{:url('Order/index')}";
            });
        }else{
            layer.msg(data.msg, {icon: 5,time:1500,shade: 0.1});
            return false;
        }
    }

</script>

</body>
</html>